extends Action

@export var defend := 6

func performAction() -> void:
	if !enemy or !target: return

	var armor := Armor.new()
	armor.amount = defend
	armor.sound = self.sound
	armor.execute([enemy])

	await get_tree().create_timer(0.6, false).timeout
	Events.actionCompleted.emit(enemy)
